package com.voodoo.lib_http.callback;

import okhttp3.Response;

/**
 * Author: voodoo
 * CreateDate: 2021/05/29
 * Description: String回调
 */
public abstract class StringCallback extends Callback<String> {

    @Override
    public String parseNetworkResponse(Response response, int id) throws Exception {
        return response.body().string();
    }

}
